<%@ page import="java.util.ArrayList" %>
<%@ page import="com.jr.pojo.Emp" %><%--
  Created by IntelliJ IDEA.
  User: 86139
  Date: 2025/9/12
  Time: 11:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%ArrayList<Emp> emps = (ArrayList<Emp>) request.getAttribute("list");%>
<table>
    <tr>
        <td>员工编号</td>
        <td>员工姓名</td>
        <td>岗位</td>
    </tr>
    <%for (Emp e : emps) {%>
    <tr>
        <td><%=e.getEmpno()%>
        </td>
        <td><%=e.getEname()%>
        </td>
        <td><%=e.getJob()%>
        </td>
    </tr>
    <%
        }
    %>
</table>
</body>
</html>
